package com.yunchang.springboot.models.DO.logisticsReconciliation;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunchang.springboot.base.Column;
import com.yunchang.springboot.base.Id;
import com.yunchang.springboot.base.Table;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * wl_freight_allocation
 * @author 1
 * @date 2020-04-02 15:37:17
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Table("wl_freight_allocation")
public class WlFreightAllocation implements Serializable {
    /**
     */
    @Id("id")
    private Integer id;

    /**
     * 发货批次号
     */
    @Column("shipment_lot_number")
    private String shipmentLotNumber;

    /**
     * 调拨批次号
     */
    @Column("shipp_no")
    private String shippNo;

    /**
     * 箱号
     */
    @Column("pack_no")
    private String packNo;

    /**
     * 对应的商品id
     */
    @Column("fba_stock_id")
    private String fbaStockId;

    /**
     * 对应的商品sku
     */
    @Column("platform_sku")
    private String platformSku;

    /**
     * 包含的数量
     */
    @Column("deliever_quantity")
    private Integer delieverQuantity;

    /**
     * 分摊的运费
     */
    @Column("allocated_freight")
    private BigDecimal allocatedFreight;

    /**
     * 数据产生的时间
     */
    private String dataTime;

    /**
     * 处理状态0：新增 1：已生成借贷关系 2：已计算借贷数据
     */
    @Column("handle_status")
    private Integer handleStatus;

    private static final long serialVersionUID = 1L;
}